/**
 * Created by windo on 2016/11/22.
 */
'use strict'
let arr=[1,[2.1,2.2],3,4,5]
/*let a=arr[0];
let b=arr[1];
let c=arr[2];*/

//let[a,b,c]=arr;
//let[,b,]=arr;
//...拓展运算符
let[a,b,...oooo]=arr;
console.log(a,b,oooo);
//console.log(b);

